package com.train.myjavaee.mapper;


import com.train.myjavaee.pojo.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    /**
     * @param phone
     * @Desc 根据电话查询用户记录
     * @return {@link User }
     */
    @Select("select  * from user where phone =#{phone}")
    User selectByPhone(String phone);
}
